package com.benmei.weike.dto;

import com.benmei.weike.entity.TeacherAppointmentTime;

import java.util.List;

/**
 * Created by Peter on 2018/8/24.
 */
public class AdminAppointmentPreviewResponse {
    //表示是否成功  0 成功; 1 server error; -1 client error
    private String mark;
    //成功失败的提示语
    private String tip;

    private List<TeacherAppointmentTime> timeList;

    public AdminAppointmentPreviewResponse() {
        this.mark = "0";
        this.tip = "SUCCESS";
    }

    public AdminAppointmentPreviewResponse(String mark, String tip) {
        this.mark = mark;
        this.tip = tip;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public List<TeacherAppointmentTime> getTimeList() {
        return timeList;
    }

    public void setTimeList(List<TeacherAppointmentTime> timeList) {
        this.timeList = timeList;
    }
}
